package com.khh.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;

/**
 * Created by webrx on 2017-09-07.
 */
@Data @NoArgsConstructor
public class User {
    private int id;
    private String name;
    private String address;
    private List<Address> addresses;
    private List<String> addr;
    private String[] arrAddr;
    private Set<String> set;
    private Map<String,String> map;
    private Properties pro;

    public User(String name) {
        this.name = name;
    }

    public User(int id,String name,String address) {
        this.id = id;
        this.name = name;
        this.address = address;
    }
}
